<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>redux</title>
</head>

<body>
    <div id="app">
        <h1>Redux 核心</h1>
        <div>
            <h2>1.1 Redux</h2>
            <p>JavaScript 状态管理容器，提供可预测的状态管理</p>
        </div>
        <div>
            <p>下载 redux</p>
            <p>npm install redux react-redux</p>
        </div>
        <div>
            <h2>1.3 Redux 核心概念及工作流程</h2>
            <p> ( View ) dispatch -> ( Actions ) -> ( Reducer ) -> ( Store ) subscribe -> ( View ) </p>
            <p>View：视图，HTML页面</p>
            <p>Store：储存状态的容器，JavaScript对象</p>
            <p>Action：对象，描述对状态进行怎样的操作</p>
            <p>Reducers：函数，操作状态并返回新的状态</p>
        </div>
    </div>
    <script></script>
</body>

</html>